Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update versions #121

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Update versions #121

wants to merge 5 commits into from

Conversation

Jubeki
Copy link
Contributor

@Jubeki Jubeki commented Nov 28, 2024

Update the illumiante/collections requirements to the supported PHP versions, see the following table:

Laravel/Illuminate composer.json Docs EOL in Docs
v11 ^8.2 8.2 - 8.4 12th March 2026
v10 ^8.1 8.1 - 8.3 4th Feb 2025
v9 ^8.0.2 8.0 - 8.2 6th Feb 2024
v8 ^7.3 or ^8.0 7.3 - 8.1 24th Jan 2023
v7 - 7.2 - 8.0 3rd Mar 2021

Furthermore I think illuminate/collections doesn't exist before v8: see https://packagist.org/packages/illuminate/collections
So I am not even sure, what would be installed here.

Guzzle ^7.0.1 is required as of laravel/illuminate 8.
phpunit ^9.5 is required as of laravel/illuminate 8.
See https://github.com/laravel/laravel/blob/8.x/composer.json

PHPstan 2 can be used as of PHP 7.4.
See https://github.com/phpstan/phpstan/blob/2.0.x/composer.json

ext-json is always included as of PHP 8.0 and was therefor removed as a requirement.
See https://php.watch/versions/8.0/ext-json

Another note:
I needed to add /* @phpstan-ignore class.extendsFinalByPhpDoc */ to the GuzzleClient, because it extends the class client which has a phpdoc with @final meaning it should not be extended from. In my opinion should this be refactored in another PR.

@Jubeki Jubeki marked this pull request as ready for review December 9, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant